OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 46
Dependencies 5
Dependents 0
Total lines 325
Lines of code 226
Logical lines of code 125
Comment lines 7
Methods 19
Properties 16

Methods 19

Method Rating Maintainability Complexity Lines of code
onCheckoutValidation()
S
53 7 21
calculateShippingOnCheckout()
S
54 7 20
initSettings()
S
43 5 48
register()
S
48 5 30
defineShippingMethodClass()
S
53 3 26
initLazyClassProxies()
S
66 3 7
getDefaultServiceName()
S
66 3 9
__construct()
S
56 1 17
onIsEnabled()
S
71 2 6
getPluginSettings()
S
82 1 3
updateFormFields()
S
80 1 3
getBaseShippingMethodClassName()
S
82 1 3
onPluginActionLinks()
S
71 1 5
registerFeatures()
S
72 1 5
onAdminMenu()
S
78 1 3
addShippingMethod()
S
73 1 5
initAdapter()
S
71 1 5
loadSettings()
S
68 1 7
getShippingMethodClassName()
S
79 1 3